package com.newasia.shopping.dal.entitys.returnValue;

import com.alibaba.fastjson.JSON;
import com.newasia.shopping.dal.entitys.ItemSku;

import java.util.List;

public class ItemSkuCart extends ItemSku {

    private String title;

    private String skuName;

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getSkuName() {
        String skuName = this.title;
        List<String> names = this.getSpecNames();
        for (String name:names) {
            skuName +=name;
        }
        return skuName;
    }

    public void setSkuName(String skuName) {
        this.skuName = skuName;
    }
}
